package com.mdinfo.gw.door.param

import java.util.*
import javax.validation.constraints.NotNull

/**
 * Created by Administrator on 2018/2/6.
 */
class DoorOpenTimeAddParam{
    @NotNull(message = "不能为空")
    var doorId:Int? = null
    @NotNull(message = "不能为空")
    var name:String? = null
    @NotNull(message = "不能为空")
    var doorOrderNum:Int? = null
    @NotNull(message = "不能为空")
    var accessId:Int? = null
    @NotNull(message = "不能为空")
    var deptId:Int? = null
    @NotNull(message = "不能为空")
    var endDate:String? = null
    @NotNull(message = "不能为空")
    var startTime:String? = null
    @NotNull(message = "不能为空")
    var endTime:String? = null

    var weekday = ArrayList<Int>()
    @NotNull(message = "不能为空")
    var opMode:Int? = null
}

class DoorOpenTimeListQueryParam{
    var name:String? = null
    @NotNull(message = "不能为空")
    var start:Int? = null
    @NotNull(message = "不能为空")
    var num:Int? = null
}

class DoorOpenTimeBindMultiCardParam{
    @NotNull(message = "不能为空")
    var timeId:Int? = null
    var cardIdList:List<Int> = ArrayList<Int>()
}